﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using VO.Business.Controllers;
using VO.Entities;

namespace VO.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in both code and config file together.

    public class VoService : IVoService
    {
        #region Clubs

        public List<Club> GetClubs()
        {
            return ClubsController.GetClubs();
        }

        public Club GetClub(Guid id)
        {
            return ClubsController.GetClub(id);
        }

        public bool SaveClub(Club club, bool isnew)
        {
            return ClubsController.SaveClub(club, isnew);
        }

        #endregion Clubs

    }
}
